#!/bin/sh -e

# called by uscan with '--upstream-version' <version> <file>

TAR=smbnetfs_$2.orig.tar

bunzip2 $3
gzip ../$TAR

# move to directory 'tarballs'
if [ -r .svn/deb-layout ]; then
  . .svn/deb-layout
  mv ../$TAR.gz $origDir
  echo "moved ../$TAR.gz to $origDir"
fi

